import {UserWithCardNumber} from '../../db/models/userModel';
import {UserToken} from '../../db/models/userTokenModel';
import {PaymentReceipt} from '../../types/order';

export type BottomTabParamList = {
  Home: undefined;
  Mining: undefined;
  My: undefined;
};

export type RootStackParamList = {
  Main: undefined;
  Home: undefined;
  Login: undefined;
  Register: undefined;
  AddCard: undefined;
  Terms: undefined;
  Tokens: undefined;
  Send: {tokenInfo: UserToken};
  Receive: {tokenInfo?: UserToken | undefined};
  SendConfirm: {
    toAddress: string;
    amount: string;
    token: UserToken;
  };
  CardList: undefined;
  CreateCardWallet: {cardNumber: string; cardTokenized: any};
  FinishRegister: {cardNumber: string; cardTokenized: any};
  Scanner: undefined;
  Payment: {orderId: string};
  PaymentReceipt: {paymentReceipt: PaymentReceipt};
  ManageWallet: undefined;
  WalletDetails: {walletInfo: UserWithCardNumber};
  TokenDetail: {tokenInfo: UserToken};
  History: undefined;
  Notification: undefined;
  NotificationDetail: undefined;
  About: undefined;
};
